﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace eCampusWeb
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable a = new Librerias.ENNoticias().dimeTodasNoticiasPublicasWeb();
          
            for (int i = 2; i < a.Rows.Count; i++)
            {
                a.Rows.RemoveAt(2);
            }

            ListView1.DataSource = a;
            ListView1.DataBind();
        }

    }
}
